<%@page import="camuyen.ltwlibrary.util.ServletUtil"%>
<%@ page contentType="text/html;charset=UTF-8" language="java"
	pageEncoding="UTF-8"%>
    <div class="row-fluid">
        <nav class="col-lg-12 navbar navbar-default navbar-custom" role="navigation" id="navbar" style="">
            <div class="collapse navbar-collapse">
                <ul class="nav navbar-nav">
                    <li id="index">
                        <a href="index.jsp">Home</a>
                    </li>
                    <% if (ServletUtil.isLoggedIn(session)) { %>
                    <li id="upload">
                        <a href="upload.jsp">Upload</a>
                    </li>
                    <% } %>
                    <% if (!ServletUtil.isLoggedIn(session)) { %>
                    <li id="register">
                        <a href="register.jsp">Register</a>
                    </li>
                     <% } else { %>
                    <li id="editAccount">
                    	<a href="editAccount.jsp">Edit Account</a>
                    </li>
                    <%} %>
                </ul>
                <form class="search-form navbar-form navbar-right">
                    <div class="form-group">
                        <input type="text" class="form-control" placeholder="Search">
                    </div>
                    <button type="submit" class="btn btn-default">Search</button>
                </form>
            </div>
        </nav>
    </div>